package Tests.Menu;

import org.jrabbit.base.graphics.font.Font;
import org.jrabbit.base.graphics.font.FontProfile;
import org.jrabbit.base.graphics.font.renderer.UnicodeRenderer;
import org.jrabbit.base.managers.ResourceManager;
import org.jrabbit.base.sound.Music;
import org.jrabbit.standard.game.main.StandardGame;

import Code.Menu.MainMenu;

public class MainMenuTest extends StandardGame
{
	protected void setup()
	{
		ResourceManager.fonts().add(new Font("Title", new UnicodeRenderer("Resources/Fonts/XIROD.TTF", 35)));
		ResourceManager.fonts().add(new Font("Buttons", new UnicodeRenderer("Resources/Fonts/visitor1.ttf", new FontProfile(true, false, 30))));
		profiler.disable();
		setWorld(new MainMenu());
		Music.loop("Resources/Sounds/Music/The Horizon.ogg");
	}
	
	public static void main(String[] args)
	{
		init();
		new MainMenuTest().run();
	}
}
